#ifndef DOT_H
#define DOT_H

#include <QPoint>
#include <QColor>
#include "Drawing.h"

class Dot: public Drawing
{
    public:
        Dot();
        Dot(QPoint*);
        Dot(QPoint*,QColor*);
        bool operator==(const Dot&) const;
        void draw(QPainter* painter);
        QPoint* point() const;
        void setPoint(QPoint*);
        QColor* color();
        void setColor(QColor*);
    private:
        QPoint* m_point;
        QColor* m_color;
};

#endif // DOT_H
